package com.jxmcloud.business.cut.mapper.database;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jxmcloud.business.cut.model.database.DBRewardPoolRecord;
import com.jxmcloud.business.cut.model.query.RewardPoolRecordQuery;
import com.jxmcloud.business.cut.vo.RewardPoolRecordVo;
import com.jxmcloud.business.cut.vo.RewardPoolSummary;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface IRewardPoolRecordDBMapper extends BaseMapper<DBRewardPoolRecord> {
    IPage<RewardPoolRecordVo> selectRewardPoolRecordPage(RewardPoolRecordQuery query);

    RewardPoolSummary selectRewardPoolSum();
}
